package Strategy;


import Factory.AgriculturalMachine;
import Factory.SmartHarvester;
import Observer.EnvironmentData;

/**
 * 标准作业策略 - 根据环境数据调整农机作业效率
 */
public class StandardOperationStrategy implements OperationStrategy {

    @Override
    public void adjust(AgriculturalMachine machine, EnvironmentData data) {
        System.out.println("应用标准作业策略...");
        if (machine instanceof SmartHarvester) {
            SmartHarvester harvester = (SmartHarvester) machine;
        }

    }

}
